<template>
  <div class="app-container">
    <Background3D />
    <NavBar />
    <PageTransition>
      <router-view></router-view>
    </PageTransition>
  </div>
</template>

<script setup>
import Background3D from './components/Background3D.vue';
import PageTransition from './components/PageTransition.vue';
import NavBar from './components/NavBar.vue';
</script>

<style>
.app-container {
  min-height: 100vh;
}

/* 全局样式重置 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333;
  background: #f5f5f5;
}

/* 滚动条样式 */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.1);
}

::-webkit-scrollbar-thumb {
  background: rgba(136, 204, 255, 0.5);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(136, 204, 255, 0.8);
}
</style> 